package cn.stylefeng.guns.modular.yingbao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 用户收款信息表
 * </p>
 *
 * @author zs
 * @since 2019-12-12
 */
@TableName("yingbao_user_pay")
public class UserPay implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    @TableField("userid")
    private Long userid;

    /**
     * 收款方式
     */
    @TableField("name")
    private String name;

    /**
     * 开户行id
     */
    @TableField("bankid")
    private String bankid;

    /**
     * 账户
     */
    @TableField("account")
    private String account;

    /**
     * 二维码
     */
    @TableField("pic")
    private String pic;

    /**
     * 联系电话
     */
    @TableField("phone")
    private String phone;

    /**
     * 状态
     */
    @TableField("status")
    private String status;

    /**
     * 加入时间
     */
    @TableField("add_time")
    private Date addTime;

    /**
     * 修改时间
     */
    @TableField("up_time")
    private Date upTime;

    /**
     * 乐观锁
     */
    @TableField("version")
    private Integer version;

    /**
     * 收款姓名
     * @return
     */
    @TableField("username")
    private String username;

    /**
     * 收款方式id
     * @return
     */
    @TableField("payid")
    private Integer payid;

    /**
     * 开户行名称
     * @return
     */
    @TableField("bank")
    private String bank;

    /**
     * 备用1
     * @return
     */
    @TableField("backup1")
    private String backup1;

    /**
     * 备用2
     * @return
     */
    @TableField("backup2")
    private String backup2;

    /**
     * 备用3
     * @return
     */
    @TableField("backup3")
    private Integer backup3;

    /**
     * 备用4
     * @return
     */
    @TableField("backup4")
    private Integer backup4;


    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getPayid() {
        return payid;
    }

    public void setPayid(Integer payid) {
        this.payid = payid;
    }

    public String getBank() {
        return bank;
    }

    public void setBank(String bank) {
        this.bank = bank;
    }

    public String getBackup1() {
        return backup1;
    }

    public void setBackup1(String backup1) {
        this.backup1 = backup1;
    }

    public String getBackup2() {
        return backup2;
    }

    public void setBackup2(String backup2) {
        this.backup2 = backup2;
    }

    public Integer getBackup3() {
        return backup3;
    }

    public void setBackup3(Integer backup3) {
        this.backup3 = backup3;
    }

    public Integer getBackup4() {
        return backup4;
    }

    public void setBackup4(Integer backup4) {
        this.backup4 = backup4;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Long getUserid() {
        return userid;
    }

    public void setUserid(Long userid) {
        this.userid = userid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBankid() {
        return bankid;
    }

    public void setBankid(String bankid) {
        this.bankid = bankid;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Date getUpTime() {
        return upTime;
    }

    public void setUpTime(Date upTime) {
        this.upTime = upTime;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    @Override
    public String toString() {
        return "UserPay{" +
                "id=" + id +
                ", userid=" + userid +
                ", name='" + name + '\'' +
                ", bankid='" + bankid + '\'' +
                ", account='" + account + '\'' +
                ", pic='" + pic + '\'' +
                ", phone='" + phone + '\'' +
                ", status='" + status + '\'' +
                ", addTime=" + addTime +
                ", upTime=" + upTime +
                ", version=" + version +
                ", username='" + username + '\'' +
                ", payid=" + payid +
                ", bank='" + bank + '\'' +
                ", backup1='" + backup1 + '\'' +
                ", backup2='" + backup2 + '\'' +
                ", backup3=" + backup3 +
                ", backup4=" + backup4 +
                '}';
    }
}
